package projectmanager

class Risk {

	static searchable = true
	String name
String status
String priority

static belongsTo = [project : Project]

String toString() {
"${name} "


}

static constraints = {


name(unique:true, blank:false)
project(blank:false)
priority(inList:["Low","Medium","High"], blank:false)
status(inList:["Inactive","Active","Closed"], blank:false)

}
}
